package com.gjw.service;

import com.gjw.dao.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class StudentServiceImpl{

    @Autowired
    private StudentMapper studentMapper;

//    public void setStudentMapper(StudentMapper studentMapper) {
//        this.studentMapper = studentMapper;
//    }

    public List getList() {
        return studentMapper.getList();
    }
}
